<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>密码模式</title>
</head>
<body>
<form action="/login" method="post">
  <table>
    <tr>
      <td>用户名:</td>
      <td><input type="text" name="username"></td>
    </tr>
    <tr>
      <td>密码:</td>
      <td><input type="password" name="password"></td>
    </tr>

  </table>
  <button type="submit" value="登录">登录</button>
</form>

<h1 th:text="${msg}"></h1>
</body>
</html>